<div class="nav fl">
    <div class="navInfo">
        <span><img src="../../public/images/headerImg.png"></span>
        <p><%= name %></p>
        <% if(type==0){ %>
            <font>类型：个人</font>
        <% } else{ %>
            <font>类型：公司</font>
        <% } %>
    </div>
    <div class="navList">
        <ul>
            <% config['nav'].forEach(function(item,index){ %>
                <li <% if(index == menuActive[0]) { %> class="active"<% } %>>
                    <% if(index==0){ %>
                        <div class="navTit navTitDown">
                            <span class="glyphicon glyphicon-user fontLeft"></span>
                            <%= item.firstNav %>
                            <span class="glyphicon glyphicon-menu-down fontRight"></span>
                        </div>
                    <% }else if(index==1){ %>
                        <div class="navTit navTitDown">
                            <span class="glyphicon glyphicon-file fontLeft"></span>
                            <%= item.firstNav %>
                            <span class="glyphicon glyphicon-menu-down fontRight"></span>
                        </div>
                    <% }else{ %>
                        <div class="navTit loginOut">
                            <span class="glyphicon glyphicon-share fontLeft"></span>
                            <%= item.firstNav %>
                        </div>
                    <% } %>
                    <% if(item.secondNav.length!=0){ %>
                        <div class="navListBox">
                            <% item.secondNav.forEach(function(x,m){ %>
                            <a href="<%= x.link %>" <% if( index == menuActive[0] && m == menuActive[1]) { %> class="on" <% } %>><%= x.text %></a>
                            <% }) %>
                        </div>
                    <% } %>
                </li>
            <% }) %>
        </ul>
    </div>
</div>